package org.paradise.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/home")
public class IndexController {
    //显示首页
    @RequestMapping("/index")
    public String index() throws Exception{
        return "/ParadiseSystem/Home/home";
    }
    //背景
    @RequestMapping("/bgimg")
    public String bgimg()throws Exception{
        return "/ParadiseSystem/Home/bgimg";
    }
    //会员信息
    @RequestMapping("/vip")
    public String main()throws Exception{
        return "/ParadiseSystem/Home/Vip";
    }
    //个人资料
    @RequestMapping("/user")
    public String user()throws Exception{
        return "/ParadiseSystem/Home/user";
    }
    //管理员信息
    @RequestMapping("/admininfo")
    public String admininfo()throws Exception{
        return "/ParadiseSystem/Home/admin";
    }
    //添加管理员
    @RequestMapping("/addadmin")
    public String addadmin()throws Exception{
        return "/ParadiseSystem/Home/addadmin";
    }
    //商品信息
    @RequestMapping("/shoppingindex")
    public String shoppingindex()throws Exception{
        return "/ParadiseSystem/Home/spindex";
    }
    //商品销售
    @RequestMapping("/xsShopping")
    public String xsShopping()throws Exception{
        return "/ParadiseSystem/Home/xsShopping";
    }
    //销售记录
    @RequestMapping("/shoppingXs")
    public String shoppingXs()throws Exception {
        return "/ParadiseSystem/Home/shoppingXs";
    }
    //套餐表
    @RequestMapping("/taocanindex")
    public String taocanindex()throws Exception{
        return "/ParadiseSystem/Home/taocan";
    }
    //设备信息
    @RequestMapping("/equip")
    public String equip()throws Exception{
        return "/ParadiseSystem/Home/equip";
    }
    //会员卡记录表
    @RequestMapping("/vipjilu")
    public String vipjilu()throws Exception{
        return "/ParadiseSystem/Home/VipRecrd";
    }
    //会员卡
    @RequestMapping("/vipcard")
    public String vipcard()throws Exception{
        return "/ParadiseSystem/Home/VipCardindex";
    }
    //积分表
    @RequestMapping("/giftindex")
    public String giftindex()throws Exception{
        return "/ParadiseSystem/Home/giftindex";
    }
    //购买记录
    @RequestMapping("/getbuy")
    public String getbuy()throws Exception{
        return "/ParadiseSystem/Home/Buyjilu";
    }
}
